<?php
require("platby-top.dat");
?>

<div class="content">
<?php
	mysql_query("UPDATE platby SET poznamka='".$_POST["note"]."' WHERE p_id=".$_POST["p_id"]) or die(mysql_error());
	echo("poznamka ulozena");
?>
</div>

<?php
require("platby-end.dat");
?>